
#include "default_settings.h"
#include "ql.h"

#define QL_APPLY_SETTING( var, val ) settings->var = val

void
apply_default_settings( AllocContextSettings * settings )
{
    QL_APPLY_SETTING( id_arr_grow_size,         QL_ID_ARR_GROW_SIZE );
    QL_APPLY_SETTING( literals_arr_grow_size,   QL_LITERALS_ARR_GROW_SIZE );
    QL_APPLY_SETTING( list_chunks_alloc_size,   QL_LIST_CHUNKS_ALLOC_SIZE );
    QL_APPLY_SETTING( atom_chunks_grow_size,    QL_ATOM_CHUNKS_GROW_SIZE );
}
